package com.qys.livesMall.app.user.model.dto.sys;

import com.qys.livesMall.app.user.model.dto.app.AppUserAddressDTO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.NotBlank;

import java.io.Serializable;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/04/24
 * Time: 17:28
 * DESCRIPTION: 系统管理员添加用户信息
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class SysAppUserSaveDTO extends AppUserAddressDTO implements Serializable {
    static final long serialVersionUID = -1L;

    @Schema(description =  "头像")
    private String avatar;

    @Schema(description =  "用户名")
    @NotBlank
    private String userName;

    @Schema(description =  "密码")
    @NotBlank
    private String password;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description =  "用户提款密码")
    private String userWithdrawalPassword;

    @Schema(description =  "店铺提款密码")
    private String storeWithdrawalPassword;

    @Schema(description =  "银行名称")
    private String bankName;

    @Schema(description =  "银行卡号")
    private String bankNo;

    @Schema(description =  "银行卡用户姓名")
    private String bankUserName;

    @Schema(description =  "USDT名称")
    private String usdtName;

    @Schema(description =  "usdt地址")
    private String usdtAddress;

    @Schema(description =  "网络协议")
    private String networkProtocols;

    @Schema(description =  "备注")
    private String remark;

    @Schema(description = "上级id")
    private Long superior;

    @Schema(description = "邀请码5位英文大写")
    private String invitationCode;
}
